package custom.base.ui.adapter;

import android.view.View;

import androidx.recyclerview.widget.RecyclerView;

import butterknife.ButterKnife;


/**
 * Created by luozi on 2016/1/13.
 */
public abstract class BaseViewHolder<T> extends RecyclerView.ViewHolder {
    /**
     * 基础构造函数
     */
    public BaseViewHolder(View itemView) {
        super(itemView);
//        ButterKnife.bind(this, itemView);
        //需要加入
        ButterKnife.bind(this, itemView);
    }

    /**
     * 展示view
     */
    public abstract void showView(int position, T item);


}
